﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>请求池</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <script src="components/requirejs/require.js" async="async" data-main="resources/js/requestPool"></script>
    <link href="resources/css/common.css" rel="stylesheet" />
    <link href="resources/css/requestPool.css" rel="stylesheet" />
    <link href="components/mint-ui/style.min.css" async="async" rel="stylesheet" />
</head>
<body>
    <div id="view">
        <div view v-if="isloading"></div>

        <div empty v-if="total == 0">
            <img src="resources/image/common/empty.png" />
            <div>暂无数据</div>
        </div>

        <div v-if="total > 0">
            <div center>
                <div total flex-v center>
                    <div center>{{total}}</div>
                    <div center>待分派</div>
                </div>
            </div>
            <div group v-for="group in groups">
                <div group-title>
                    <div center-v>
                        <img src="resources/image/requestPool/project.png" />
                    </div>
                    <div>{{group.cus_customer_name}}</div>
                    <div center>
                        <div arrow-up></div>
                    </div>
                </div>
                <div group-item v-for="item in group.requests" v-on:click="gotoRequesPoolAssignment(item.id)">
                    <div>{{item.title}}</div>
                    <div>
                        <div>申报时间：{{item.create_date}}</div>
                        <div fault v-if="item.incident_type">{{item.incident_type}}</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>